package com.jf.cloud.product.vo.mongo;

import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 对应MongoDB中商品浏览记录表emp
 * @author zz
 */
@Document("spu_browse_log")
public class MongoSpuBrowseLogVO {

    @Schema(description = "分类id" )
    private Long categoryId;

    @Schema(description = "分类计数" )
    private Integer num;

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "MongoSpuBrowseLogVO{" +
                "categoryId=" + categoryId +
                ", num=" + num +
                '}';
    }
}
